package com.itheima.Service;

import com.itheima.pojo.Order;
import com.itheima.pojo.PageBean;
import org.apache.ibatis.annotations.Delete;

public interface UserOrderService {
    void updateUserOrder(Order userOrder);

    Order getById(Integer id);

    PageBean page(Order query);
    @Delete("delete from user_order where id=#{id}")
    void delete(Integer id);

    void add(Order order);
}
